#import <Foundation/Foundation.h>
#import "MyProcessWorker.h"

int main(int argc, const char *argv[])
{
	NSAutoreleasePool	*pool = [[NSAutoreleasePool alloc] init];
	MyProcessWorker		*processWorker = [[MyProcessWorker alloc] init];

	while(TRUE)
	{
		[NSThread sleepUntilDate:[NSDate dateWithTimeIntervalSinceNow:1]];
		[processWorker walkProcessList];
	}
	
	[pool release];
	[processWorker release];

	return 0;
}
